package com.example.hangzhou.welbeing.mytestdemoapp.myInterface;

import com.example.hangzhou.welbeing.mytestdemoapp.bean.Book;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * 杭州惟君医疗科技有限公司14
 * Created by 20433 on 2018/4/9
 *
 * @desc 东风山河绿，春已不折柳，繁花看不尽，处处惹人留
 * @desc 佛祖镇楼，bug辟容易
 */

public interface GetRequest_Interface {
    @GET("book/search")
    Call<Book> getSearchBook(@Query("q") String name,
                             @Query("tag") String tag,
                             @Query("start") int start,
                             @Query("count") int count);
    @FormUrlEncoded
    @POST("Home/MyCenter/index")
    Call<ResponseBody> getMain(@Field("cus_id") String key); //@Body myCusId bean


}
